package ExceptionDemo1;

// 自定义异常：处理年龄范围错误
public class AgeOutOfRangeException extends Exception {
    public AgeOutOfRangeException() {
        super();
    }

    public AgeOutOfRangeException(String message) {
        super(message);
    }
}
